<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>会员信息管理</title>
<link rel="stylesheet" type="text/css"
	href="../../css/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="../../css/themes/icon.css" />
<script type="text/javascript" src="../../js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="../../js/jquery.form.js"></script>
<script type="text/javascript"
	src="../../js/easyui/jquery.easyui.min.js"></script>
<script>
	// 用户的信息（基本信息/荣誉/成果/大病救助/转会/注销）
	var mapping = {
		"tab_base" : "member_base.jsp",
		"tab_honour" : "member_honour.jsp",
		"tab_achievement" : "member_achievement.jsp",
		"tab_salvage" : "../manager/salvage_over_manage.jsp",
		"tab_forte" : "member_forte.jsp",
		"tab_changeclub" : "member_changeclub.jsp",
		"tab_logoff" : "member_logoff.jsp"
	}
	var cur_object = {};
	$(function() {
		$("#define_tabs").tabs({
			onSelect : function(title) {
				var tab = $("#define_tabs").tabs("getTab", title);
				var frame = $("iframe", tab)[0];
				console.log("frame:" + typeof (frame.contentWindow));
				frame.src = mapping[$(tab).attr("id")];
			}
		})
	})

	$(window).resize(function() {
		$("#tabs_constainer").css({
			height : $("body").offsetHeight
		});
		$("#define-tabs").tabs("resize");
	});
</script>
</head>
<body style="height: 100%">
	<div id="page-title" class="easyui-panel" fit="true"
		style="width: 100%; height: 100%; text-align: center; border: 0">
		<div id="define_tabs" class="easyui-tabs"
			data-options="plain:true,fit:true">
			<div title="基本信息" style="padding: 10px;" id="tab_base">
				<iframe width="100%" height="100%" frameborder="0"></iframe>
			</div>
			<div title="个人荣誉" style="padding: 10px;" id="tab_honour">
				<iframe width="100%" height="100%" frameborder="0"></iframe>
			</div>
			<div title="个人成就" style="padding: 10px;" id="tab_achievement">
				<iframe width="100%" height="100%" frameborder="0"></iframe>
			</div>
			<div title="大病救助" style="padding: 10px;" id="tab_salvage">
				<iframe width="100%" height="100%" frameborder="0"></iframe>
			</div>
			<!-- 			<div title="个人特长" style="padding: 10px;" id="tab_forte"> -->
			<!-- 				<iframe width="100%" height="100%" frameborder="0"></iframe> -->
			<!-- 			</div> -->
			<!-- 			<div title="会员转会" style="padding: 10px;" id="tab_changeclub"> -->
			<!-- 				<iframe width="100%" height="100%" frameborder="0"></iframe> -->
			<!-- 			</div> -->
			<!-- 			<div title="会员注销" style="padding: 10px;" id="tab_logoff"> -->
			<!-- 				<iframe width="100%" height="100%" frameborder="0"></iframe> -->
			<!-- 			</div> -->
		</div>
	</div>
</body>
</html>